package com.zc58s.concurrent.spring.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Component;

@Component
//implements InitializingBean
public class UserService {

    @Resource
    private OrderService orderService;

    //@Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("InitializingBean.afterPropertiesSet");
    }

    public void test() {
        System.out.println("test");
    }
}
